Reversible session-based pi-calculus

نویسندگان

  • Francesco Tiezzi
  • Nobuko Yoshida
چکیده

In this work, we incorporate reversibility into structured communication-based programming, to allow parties of a session to automatically undo, ina rollback fashion, the effect of previously executed interactions. This per-mits to take different computation paths along the same session, as wellas to revert the whole session and starting a new one. Our aim is to de-fine a theoretical basis for examining the interplay in concurrent systemsbetween reversible computation and session-based interaction. We thus pro-pose ReSπ, a session-based variant of π-calculus using memory devices tokeep track of the computation history of sessions in order to reverse it. Weshow how a session type discipline of π-calculus is extended to ReSπ, andillustrate its practical advantages for static verification of safe compositionin communication-centric distributed software performing reversible compu-tations. We also show how a fully reversible characterisation of the calculusextends to commitable sessions, where computation can go forward and back-ward until the session is committed by means of a specific irreversible action.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Full Abstraction in a Subtyped pi-Calculus with Linear Types

We introduce a concise pi-calculus with directed choices and develop a theory of subtyping. Built on a simple behavioural intuition, the calculus offers exact semantic analysis of the extant notions of subtyping in functional programming languages and session-based programming languages. After illustrating the idea of subtyping through examples, we show type-directed embeddings of two known sub...

متن کامل

A Linear Account of Session Types in the Pi Calculus

We present a reconstruction of session types in a conventional pi calculus where types are qualified as linear or unrestricted. Linearly typed communication channels are guaranteed to occur in exactly one thread, possibly multiple times. We equip types with a constructor that denotes the two ends of a same communication channel. In order to assess the flexibility of the new type system, we prov...

متن کامل

Linearity, session types and the Pi calculus

We present a reconstruction of session types in a conventional pi calculus. Our session types are qualified as linear or unrestricted. Linearly typed communication channels are guaranteed to occur in exactly one thread, possibly multiple times; afterwards they evolve to unrestricted channels. We equip types with a constructor that describes the two ends of a same communication channel, and prop...

متن کامل

Towards Reversible Sessions ∗ Francesco

In this work, we incorporate reversibility into structured communication-based programming, to allow parties of a session to automatically undo, in a rollback fashion, the effect of previously executed interactions. This permits taking different computation paths along the same session, as well as reverting the whole session and starting a new one. Our aim is to define a theoretical basis for e...

متن کامل

Towards Reversible Sessions

In this work, we incorporate reversibility into structured communication-based programming, to allow parties of a session to automatically undo, in a rollback fashion, the effect of previously executed interactions. This permits taking different computation paths along the same session, as well as reverting the whole session and starting a new one. Our aim is to define a theoretical basis for e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • J. Log. Algebr. Meth. Program.

دوره 84  شماره 

صفحات  -

تاریخ انتشار 2015